package api

import (
	"1-14zk/api/handlres"
	"github.com/gin-gonic/gin"
)

func LoadRouter(r *gin.Engine) {
	r.POST("/api/c/articleAdd", handlres.ArticleAdd)             ////发布
	r.POST("/api/c/articleGood", handlres.ArticleGood)           //文章点赞
	r.POST("/api/c/articleBrowse", handlres.ArticleBrowse)       //文章浏览
	r.POST("/api/c/articleReview", handlres.ArticleReview)       //文章评论
	r.POST("/api/c/resArticleReview", handlres.ResArticleReview) //回复评论
	r.POST("/api/c/reviewGood", handlres.ReviewGood)             //评论点赞
	r.POST("/api/c/delReview", handlres.DelReview)               //删除评论
	r.POST("/api/c/delReviewGood", handlres.DelReviewGood)       //取消评论点赞
}
